<template>
  <p>car: {{ car }}</p>
  <button @click="getParent($parent)">getParent</button>

  <br />
  <hr />
</template>
<script setup lang="ts">
import { ref } from "vue";
let car = ref("car b");
/* proxy */
let getParent = (parent: any) => {
  console.log("parent.car", parent.car);
  parent.car += 'B!!!'
};
defineExpose({ car });
</script>
<style lang="scss" scoped></style>
